import { defineStore } from "pinia";
import { ref } from "vue";
import type { assistantInfoType } from "@/components/assistant-info";

export const useAssistantStore = defineStore("assistant", () => {
  const currentAssistant = ref<assistantInfoType | null>(null);
  const setCurrentAssistant = (value: assistantInfoType) => {
    currentAssistant.value = value;
  };

  return { currentAssistant, setCurrentAssistant };
});
